package com.student.dao;

import java.sql.SQLException;
import java.util.List;

import org.springframework.stereotype.Repository;

import com.student.entity.Student;

@Repository
public interface IStudentMapper {
	//接口中
	public int save(Student s) throws SQLException;
	public int remove(Student s) throws SQLException;
	public int update(Student s) throws SQLException;
	public List<Student> queryAll() throws SQLException;
	public Student queryById(String id) throws SQLException;

}
